<template>
	<view>
		<image src="/static/common/bg1.png" class="pagebg1" mode=""></image>
		<u-navbar :safeAreaInsetTop="true" :autoBack="true" title="我的地址" placeholder
			:bgColor="'rgba(255,255,255,'+opc+')'">

		</u-navbar>
		<view class="pagecon">
			<view class="box">
				<image src="/static/personal/addrbg.png" class="box__bg" mode=""></image>
				<view class="u-flex u-flex-y-center">
					<image src="/static/personal/ren.png" class="box__icon" mode=""></image>
					<view class="box__title">
						收件人
					</view>
				</view>
				<view class="box__form">
					<view class="box__form__item">
						<view class="box__form__label">
							姓名
						</view>
						<input type="text" placeholder="请输入联系人姓名" class="box__form__inp" />
					</view>
					<view class="box__form__item">
						<view class="box__form__label">
							电话
						</view>
						<input type="text" placeholder="请输入联系电话" class="box__form__inp" />
					</view>
					<view class="box__form__item">
						<view class="box__form__label">
							地区
						</view>
						<input type="text" placeholder="请输入省.市.区" class="box__form__inp" />
					</view>
					<view class="box__form__item">
						<view class="box__form__label">
							详情地址
						</view>
						<input type="text" placeholder="请详细到街道小区名" class="box__form__inp" />
					</view>
				</view>
				<u-button text="保存" color="#E3432D" size="largin" customStyle="height:95rpx;border-radius:20rpx;font-size:30rpx;width:638rpx;margin:0;"></u-button>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				opc: 0
			};
		}
	}
</script>

<style lang="scss">
	page {
		background-image: linear-gradient(to bottom, #fef5f3, #fff);
	}

	.pagecon {
		padding: 30rpx;

		.box {
			background: #FFFFFF;
			box-shadow: 3rpx 0rpx 57rpx 0rpx rgba(0, 0, 0, 0.1);
			border-radius: 30rpx 30rpx 30rpx 30rpx;
			position: relative;
			padding: 60rpx 0 60rpx 30rpx;
			&__bg{
				width: 139rpx;
				height: 139rpx;
				position: absolute;
				top: -60rpx;
				right: 30rpx;
			}
			&__icon{
				width: 40rpx;
				height: 40rpx;
				margin-right: 10rpx;
			}
			&__title{
				font-family: PingFang-SC, PingFang-SC;
				font-weight: bold;
				font-size: 30rpx;
				color: #020202;
				line-height: 30rpx;
			}
			&__form{
				margin: 22rpx 0 53rpx;
				&__item{
					padding: 41rpx 0 33rpx;
					border-bottom: 1rpx solid #F9F9F9;
					display: flex;
					align-items: center;
					
				}
				&__label{
					width: 137rpx;
					font-family: PingFang-SC, PingFang-SC;
					font-weight: 500;
					font-size: 26rpx;
					color: #6D6D6D;
					line-height: 38rpx;
				}
				&__inp{
					flex: 1;
					font-family: PingFang-SC, PingFang-SC;
					font-weight: 500;
					font-size: 26rpx;
					color: #333;
					line-height: 38rpx;
				}
			}
		}
	}
</style>